﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics;

namespace Jet.Dal.EF.Tests.DataObjects
{
	/// <summary>
	/// Information about customer demographics from Northwind database
	/// </summary>
	[DebuggerDisplay("{RegionID} - {RegionDescription}")]
	[Table("Region")]
	public class Region
	{
		[Key]
		public int RegionID { get; set; }

		[Column]
		public string RegionDescription { get; set; }

		public override string ToString()
		{
			return string.Format("Region: ID='{0}', Description ='{1}'", RegionID, RegionDescription);
		}
	}
}
